package com.aliyun.messagemgt.dto.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.Date;

/**
 * @Author: Xiaohang Lv
 * @Date: 2019/5/8 14:20
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OuterMsgDailyQueryVO {
    /**
     * 场景名称
     */
    private String sceneTemplateName;

    /**
     * 场景id
     */
    private String sceneTemplateId;

    /**
     * 计划名
     */
    private String planName;

    /**
     * 计划id 
     */
    private Long planId;

    /**
     * 数据源
     */
    private String  dsName;

    /**
     * 数据源: ads表名
     */
    private String  adsTableName;

    /**
     * 数据源: topic
     */
    private String  datahubTopicName;

    /**
     * 数据源: api_url
     */
    private String  apiUrl;

    /**
     * 数据源: logstore 
     */
    private String  logStore;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date;

    /**
     * 推送量
     */
    private Integer pushCount;

    /**
     * 阅读量
     */
    private Integer readCount;

    /**
     * 反馈量
     */
    private Integer commentCount;

    public String getSceneTemplateName() {
        return sceneTemplateName;
    }

    public OuterMsgDailyQueryVO setSceneTemplateName(String sceneTemplateName) {
        this.sceneTemplateName = sceneTemplateName;
        return this;
    }

    public String getSceneTemplateId() {
        return sceneTemplateId;
    }

    public OuterMsgDailyQueryVO setSceneTemplateId(String sceneTemplateId) {
        this.sceneTemplateId = sceneTemplateId;
        return this;
    }

    public String getPlanName() {
        return planName;
    }

    public OuterMsgDailyQueryVO setPlanName(String planName) {
        this.planName = planName;
        return this;
    }

    public Long getPlanId() {
        return planId;
    }

    public OuterMsgDailyQueryVO setPlanId(Long planId) {
        this.planId = planId;
        return this;
    }

    public String getDsName() {
        return dsName;
    }

    public OuterMsgDailyQueryVO setDsName(String dsName) {
        this.dsName = dsName;
        return this;
    }

    public String getAdsTableName() {
        return adsTableName;
    }

    public OuterMsgDailyQueryVO setAdsTableName(String adsTableName) {
        this.adsTableName = adsTableName;
        return this;
    }

    public String getDatahubTopicName() {
        return datahubTopicName;
    }

    public OuterMsgDailyQueryVO setDatahubTopicName(String datahubTopicName) {
        this.datahubTopicName = datahubTopicName;
        return this;
    }

    public String getApiUrl() {
        return apiUrl;
    }

    public OuterMsgDailyQueryVO setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
        return this;
    }

    public String getLogStore() {
        return logStore;
    }

    public OuterMsgDailyQueryVO setLogStore(String logStore) {
        this.logStore = logStore;
        return this;
    }

    public Date getDate() {
        return date;
    }

    public OuterMsgDailyQueryVO setDate(Date date) {
        this.date = date;
        return this;
    }

    public Integer getPushCount() {
        return pushCount;
    }

    public OuterMsgDailyQueryVO setPushCount(Integer pushCount) {
        this.pushCount = pushCount;
        return this;
    }

    public Integer getReadCount() {
        return readCount;
    }

    public OuterMsgDailyQueryVO setReadCount(Integer readCount) {
        this.readCount = readCount;
        return this;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public OuterMsgDailyQueryVO setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
        return this;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

}
